<div class="write"><div><a href="/index.php?p=mwrite">写文章</a></div></div>
<div class="mainpad">
	<ul class="blogs">
	<!--{foreach from=$blogs item=val key=key}-->
		<li <!--{if $key%2 == 1}-->class="s"<!--{/if}-->>[<a href="?cid=<!--{$val.cates}-->"><!--{$val.catename}--></a>]&nbsp;<a href="http://one.dev/page.php?id=<!--{$val.id}-->" target="_blank"><!--{$val.title}--></a>&nbsp;<font size="1"><!--{$val.addtime|date_format:"%Y-%m-%d %H:%M:%S"}--></font><span class="do"><a href="javascript:;">删除</a>&nbsp;&nbsp;<a href="javascript:;">修改</a></span></li>
	<!--{/foreach}-->
	</ul>
</div>
<script>$('.blogs > li').hover(function(){$(this).children('.do').show();},function(){$(this).children('.do').hide();})</script>